/*
 * @Author: your name
 * @Date: 2021-12-29 10:33:19
 * @LastEditTime: 2021-12-29 17:26:06
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \my\src\route\index.js
 */
import Login from '../pages/login/Login.jsx'
import User from '../pages/user/User'
import Info from '../pages/info/Info'
import Container from '../layout/container/Container.jsx'

const routes = [
	{
		path: '/',
		component: Login,
	},
	{
		path: '/login',
		component: Login,
	},
	{
		path: '/index',
		component: Container,
		children: [
			{
				path: '',
				component: User,
			},
			{
				path: 'info',
				component: Info,
			},
		],
	},
]
export default routes
